#ifndef PSFRunAction_h
#define PSFRunAction_h 1

#include "G4UserRunAction.hh"

#include <vector>

class PSFRun;
class G4Run;
class PSFEventAction;

class PSFRunAction : public G4UserRunAction
{
public:
  PSFRunAction(PSFEventAction *eventaction);
  ~PSFRunAction() override = default;

  void BeginOfRunAction(const G4Run *) override;
  void EndOfRunAction(const G4Run *) override;
  G4Run *GenerateRun() override;

private:
  PSFRun *fRun = nullptr;
  PSFEventAction *fEventAction = nullptr;
};

#endif
